package com.github.prontera.model.request;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.domain.enums.GenderEnum;
import com.github.prontera.domain.enums.RegisterChannelEnum;

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class UserLoginRequest extends RestfulRequest {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String headImage; 
	private String nikeName; 
	private GenderEnum gender; 
	private String mobile; 
	private String verifCode; 
	private String password; 
	private String oldPassword; 
	private String shareCode; 
	/**
	 * jpush交换标识
	 */
	private String jpushCode;
	/**
	 * jpush交换标识
	 */
	private RegisterChannelEnum registerChannel;
	
	@JsonIgnore
	private String cid; 
	
	public String getHeadImage() {
		return headImage;
	}
	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}
	public String getNikeName() {
		return nikeName;
	}
	public void setNikeName(String nikeName) {
		this.nikeName = nikeName;
	}
	public GenderEnum getGender() {
		return gender;
	}
	public void setGender(GenderEnum gender) {
		this.gender = gender;
	}
	public RegisterChannelEnum getRegisterChannel() {
		return registerChannel;
	}
	public void setRegisterChannel(RegisterChannelEnum registerChannel) {
		this.registerChannel = registerChannel;
	}
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getShareCode() {
		return shareCode;
	}
	public void setShareCode(String shareCode) {
		this.shareCode = shareCode;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getVerifCode() {
		return verifCode;
	}
	public void setVerifCode(String verifCode) {
		this.verifCode = verifCode;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getOldPassword() {
		return oldPassword;
	}
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}
	public String getJpushCode() {
		return jpushCode;
	}
	public void setJpushCode(String jpushCode) {
		this.jpushCode = jpushCode;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
